<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" type="text/css" href="./index.css" />
  <title>demo</title>
</head>
<body>
  <div id="example" class="background">
    写代码的浩
  </div>
  <script src="./index.js"></script>
  <script>
    if (CSS.paintWorklet) {
        CSS.paintWorklet.addModule('./worker.js');
    }
  </script>
</body>
</html>